import http from '../utils/http'

/* 所有推文 */
export const getTweet = () => {
  return http.get('/tweet/get/all')
}

/* 推文详情 */
export const getTweetDetail = (id) => {
  return http.get(`/tweet/get/${id}`)
}

/* 团队 */
export const getTeam = () => {
  return http.get('/object')
}

/* 所有组别 */
export const getGroup = () => {
  return http.get('/clazz/query/all')
}

/* 组别详情 */
export const getGroupDetail = (id) => {
  return http.get(`/clazz/get/${id}`)
}

/* 所有项目 */
export const getProject = () => {
  return http.get('/project/all')
}

/* 项目详情 */
export const getProjectDetail = (id) => {
  return http.get(`/project/${id}`)
}